<?php
$i = 0;
return array (
		array (
				'name' => 'Home',
				'children' => array (
						array (
								'id' => ++ $i,
								'name' => 'Desktop',
								'url' => 'Index/index',
								'is_open' => true,
								'is_hidden' => true 
						),
						array (
								'id' => ++ $i,
								'name' => 'menu',
								'url' => 'Index/menu',
								'is_open' => true,
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'home',
								'url' => 'Index/main',
								'is_open' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'modify password',
								'url' => 'Index/updatePwd',
								'is_open' => true
						),
				) 
		),
		array (
				'name' => 'setting',
				'children' => array (
						array (
								'id' => ++ $i,
								'name' => 'access control',
								'url' => 'Role/index',
						),
						array (
								'id' => ++ $i,
								'name' => 'access add',
								'url' => 'Role/save',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'access update',
								'url' => 'Role/update',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'access delete',
								'url' => 'Role/delete',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'admin control',
								'url' => 'Admin/index',
						),
						array (
								'id' => ++ $i,
								'name' => 'admin add',
								'url' => 'Admin/save',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'admin update',
								'url' => 'Admin/update',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'admin delete',
								'url' => 'Admin/delete',
								'is_hidden' => true
						),
				)
		),
		array (
				'name' => 'Staff management',
				'children' => array (
						array (
								'id' => ++ $i,
								'name' => 'Staff management',
								'url' => 'User/index',
						),
						array (
								'id' => ++ $i,
								'name' => 'Staff added',
								'url' => 'User/save',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'Staff editor',
								'url' => 'User/update',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'Staff delete',
								'url' => 'User/delete',
								'is_hidden' => true
						)

				)
		),
		array (
				'name' => 'P/N',
				'children' => array (
						array (
								'id' => ++ $i,
								'name' => 'P/N management',
								'url' => 'Product/index',
						),
						array (
								'id' => ++ $i,
								'name' => 'P/N added',
								'url' => 'Product/save',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'P/N editor',
								'url' => 'Product/update',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'P/N delete',
								'url' => 'Product/delete',
								'is_hidden' => true
						)
		
				)
		),
		array (
				'name' => 'Process',
				'children' => array (
						array (
								'id' => ++ $i,
								'name' => 'Process management',
								'url' => 'Process/index',
						),
						array (
								'id' => ++ $i,
								'name' => 'Process added',
								'url' => 'Process/save',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'Process editor',
								'url' => 'Process/update',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'Process delete',
								'url' => 'Process/delete',
								'is_hidden' => true
						)
		
				)
		),
		array (
				'name' => 'work log',
				'children' => array (
						array (
								'id' => ++ $i,
								'name' => 'work log',
								'url' => 'WorkLog/index',
						),
						array (
								'id' => ++ $i,
								'name' => 'work log added',
								'url' => 'WorkLog/save',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'work log editor',
								'url' => 'WorkLog/update',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'work log delete',
								'url' => 'WorkLog/delete',
								'is_hidden' => true
						),
						array (
								'id' => ++ $i,
								'name' => 'work log output',
								'url' => 'WorkLog/output',
								'is_hidden' => true
						)
				)
		),
);